package xyz.bali16.module.netdisk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author bali2 on 29/10/2021.
 * @version 1.0
 */

//@Accessors(chain = true)
@Data
@TableName("netdisk_filefolder")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FileFolder  implements Serializable {

    private static final long serialVersionUID = -8932943531238769227L;
    /**
     * 文件夹ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 文件夹名称
     */
    private String name;
    /**
     * 父文件夹ID
     */
    private String parentFolderId;
    /**
     * 所属文件仓库ID
     */
    private String fileStorageId;
    /**
     * 创建时间
     */
    private String gmtCreated;
}
